package auto2.Controller;

import auto2.Controller.Dao.Service.UserService;

public class UserController {
    private UserService userService;


    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void search(){
        System.out.println("UserController: 根据id查询用户方法执行");
        userService.getUserById();
    }
}
